/*
 * Powered By [cciot base platform]
 * Web Site: http://www.cciot.net
 * Since 2012 - 2013
 */

package net.cciot.platform.core.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.io.*;
import java.net.*;
import java.util.*;

import java.math.BigDecimal;
import java.math.BigInteger;

import net.cciot.platform.common.base.*;

import static net.cciot.platform.common.util.DateFormats.*;
import static net.cciot.platform.common.util.GlobalMessages.*;
import static net.cciot.platform.common.util.SpringMVCUtils.toModelMap;
import static net.cciot.platform.common.util.MybatisPageQueryUtils.pageQuery;

import static cn.org.rapid_framework.util.ValidationErrorsUtils.convert;
import static cn.org.rapid_framework.beanutils.BeanUtils.copyProperties;
import static cn.org.rapid_framework.util.holder.BeanValidatorHolder.validateWithException;
import cn.org.rapid_framework.util.DateConvertUtils;

import cn.org.rapid_framework.page.PageRequest;
import cn.org.rapid_framework.page.Page;

import net.cciot.platform.core.model.*;
import net.cciot.platform.core.dao.*;
import net.cciot.platform.core.service.*;
import net.cciot.platform.core.query.*;


/**
 * @author anduo email:anduo1989@gmail.com
 * @version 1.0
 * @since 1.0
 */
public class BaseUsersQuery extends PageRequest implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** userId */
	private java.lang.String userId;
	/** account */
	private java.lang.String account;
	/** password */
	private java.lang.String password;
	/** realName */
	private java.lang.String realName;
	/** sex */
	private java.lang.Boolean sex;
	/** email */
	private java.lang.String email;
	/** mobile */
	private java.lang.String mobile;
	/** officePhone */
	private java.lang.String officePhone;
	/** errorCount */
	private Integer errorCount;
	/** lastLoginTime */
	private java.util.Date lastLoginTimeBegin;
	private java.util.Date lastLoginTimeEnd;
	/** lastLoginIp */
	private java.lang.String lastLoginIp;
	/** remark */
	private java.lang.String remark;

	public java.lang.String getUserId() {
		return this.userId;
	}
	
	public void setUserId(java.lang.String value) {
		this.userId = value;
	}
	
	public java.lang.String getAccount() {
		return this.account;
	}
	
	public void setAccount(java.lang.String value) {
		this.account = value;
	}
	
	public java.lang.String getPassword() {
		return this.password;
	}
	
	public void setPassword(java.lang.String value) {
		this.password = value;
	}
	
	public java.lang.String getRealName() {
		return this.realName;
	}
	
	public void setRealName(java.lang.String value) {
		this.realName = value;
	}
	
	public java.lang.Boolean getSex() {
		return this.sex;
	}
	
	public void setSex(java.lang.Boolean value) {
		this.sex = value;
	}
	
	public java.lang.String getEmail() {
		return this.email;
	}
	
	public void setEmail(java.lang.String value) {
		this.email = value;
	}
	
	public java.lang.String getMobile() {
		return this.mobile;
	}
	
	public void setMobile(java.lang.String value) {
		this.mobile = value;
	}
	
	public java.lang.String getOfficePhone() {
		return this.officePhone;
	}
	
	public void setOfficePhone(java.lang.String value) {
		this.officePhone = value;
	}
	
	public Integer getErrorCount() {
		return this.errorCount;
	}
	
	public void setErrorCount(Integer value) {
		this.errorCount = value;
	}
	
	public java.util.Date getLastLoginTimeBegin() {
		return this.lastLoginTimeBegin;
	}
	
	public void setLastLoginTimeBegin(java.util.Date value) {
		this.lastLoginTimeBegin = value;
	}	
	
	public java.util.Date getLastLoginTimeEnd() {
		return this.lastLoginTimeEnd;
	}
	
	public void setLastLoginTimeEnd(java.util.Date value) {
		this.lastLoginTimeEnd = value;
	}
	
	public java.lang.String getLastLoginIp() {
		return this.lastLoginIp;
	}
	
	public void setLastLoginIp(java.lang.String value) {
		this.lastLoginIp = value;
	}
	
	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public void setRemark(java.lang.String value) {
		this.remark = value;
	}
	

	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

